package com.jun.mapper;

import com.jun.entity.UserConsume;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface UserConsumeMapper {    //普通用户消费
    int insertUserConsume(UserConsume userConsume); //插入一条普通用户消费记录
    String searchOneDayConsume(String time);  //查询指定日期的普通用户收益
    String searchUserConsumeByInterval(Map<String,Object> map);  //根据时间间隔来查询普通用户总收益
}
